<?php

/** @var \Illuminate\Database\Eloquent\Factory $factory */
use Faker\Generator as Faker;
use Illuminate\Support\Str;

/*
|--------------------------------------------------------------------------
| Model Factories
|--------------------------------------------------------------------------
|
| This directory should contain each of the model factory definitions for
| your application. Factories provide a convenient way to generate new
| model instances for testing / seeding your application's database.
|
*/

$factory->define(\App\Models\Business\Business::class, function (Faker $faker) {
    return [
        'user_title'=>$faker->name,
        'user_name'=>$faker->name,
        'password'=>$faker->randomNumber(6,true),
        'name' => $faker->name,
        'phone' => $faker->phoneNumber,
        'business_phone' => $faker->phoneNumber,
        'address'=>$faker->unique()->address,
        'consumption'=>$faker->numberBetween(1,25),
        'body' => $faker->text,
        'shop_image' =>$faker->unique()->numberBetween(21,40),
        'Business_license' =>$faker->unique()->numberBetween(41,60),
        'business_class' =>$faker->numberBetween(1,10),
    ];
});
